<%@page import="cn.yunhe.biz.MajorsBizImpl"%>
<%@page import="cn.yunhe.biz.IMajorsBiz"%>
<%@page import="cn.yunhe.entity.Majors"%>
<%@page import="java.util.List"%>
<%@page import="cn.yunhe.entity.ProvienceMessage"%>
<%@page import="cn.yunhe.util.PageUtil"%>
<%@page import="cn.yunhe.biz.ProvienceMessageBizImpl"%>
<%@page import="cn.yunhe.biz.IProvienceMessageBiz"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="Default.css" />
<title>GaoKaoHelperSystem</title>
<script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="js/style-table.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
	$(function() {
		$(".main-li").hover(function() {
			$(this).children(".sub-menu").show().prev("a").css({
				"color" : "#fff",
				"text-decoration" : "underline"
			});
		}, function() {
			$(this).children(".sub-menu").hide().prev("a").css({
				"color" : "#4d4c4c",
				"text-decoration" : "none"
			});
		});
		$(".sub-menu .main-li2").hover(function() {
			$(this).children(".li2-a").css({
				"background-color" : "#981C14",
				"color" : "#fff",
				"text-decoration" : "underline"
			});
			$(this).children(".sub-menu-two").show();
		}, function() {
			$(this).children(".li2-a").css({
				"background-color" : "#7C2418",
				"color" : "#FF6633",
				"text-decoration" : "none"
			});
			$(this).children(".sub-menu-two").hide();
		});

	});
</script>
<style>
.menu {
	line-height: 40px;
	padding-left: 160px;
	height: 40px;
	padding-top: 18px;
}

.menu ul {
	
}

.menu li {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	float: left;
	list-style-type: none;
	width: 90px;
}

.menu a, .meunua:link {
	color: #4d4c4c;
	text-decoration: none;
}

.main-menu {
	padding: 0px;
	width: 100%;
}

.main-menu .main-li {
	float: left;
	padding: 0 3px;
	height: 40px;
	line-height: 40px;
	position: relative;
	z-index: 1;
}

.main-menu .main-li a {
	display: block;
	font-weight: bold;
}

.main-menu .main-li .li-a {
	float: left;
}

.main-menu .main-li .li-a {
	width: 91px;
}

.main-menu .main-li .sub-menu {
	position: absolute;
	top: 40px;
	display: none;
	z-index: 2;
	left: 0px;
	width: 97px;
	text-align: center;
	background-color: #999999;
}

.main-menu .main-li .sub-menu-two {
	position: absolute;
	top: 0px;
	display: none;
	z-index: 3;
	left: 110px;
	text-align: center;
}

.sub-menu-two a {
	width: 80px;
	background-color: #981C14;
	float: none;
}

.sub-menu .li2-a {
	background-color: #7C2418;
	float: none;
	width: 97px;
}

.sub-menu a:hover {
	background-color: #981C14;
}
</style>
</head>
<body>
	<div class="bigmain">
		<div class="main">
			<div class="head">
				<div class="title_back">
					<div class="title">GaoKaoHelperSystem</div>
					<div class="title_right">${sessionScope.user.getUsername() }欢迎/<a
							href="LoginOut">注销</a>
					</div>
					<div class="title_bottom">大工至善，大学至真</div>
				</div>
				<div class="menu">
					<ul class="main-menu">
						<li><a href="PersonCentre.jsp">个人主页</a></li>
						<li style="width: 5px;"><img src="images/xian.jpg"></li>

						<li class="main-li"><a class="li-a" href="/">高考查询</a>
							<ul class="sub-menu">
								<li class="main-li2"><a class="li2-a" href="/">分数查询</a></li>
								<li class="main-li2"><a class="li2-a" href="/">考号查询</a></li>
							</ul></li>
						<li style="width: 5px;"><img src="images/xian.jpg"></li>
						<li class="main-li"><a class="li-a" href="/">高校查询</a>
							<ul class="sub-menu">
								<li class="main-li2"><a class="li2-a"
									href="UniverstityServlet?too=1">211高校</a></li>
								<li class="main-li2"><a class="li2-a"
									href="UniverstityServlet?nef=1">985高校</a></li>
								<li class="main-li2"><a class="li2-a"
									href="UniverstityServlet?com=1">普通高校</a></li>
							</ul></li>
						<li style="width: 5px;"><img src="images/xian.jpg"></li>

						<li class="main-li"><a class="li-a" href="MajorsListServlet">热门专业</a></li>
						<li style="width: 5px;"><img src="images/xian.jpg"></li>
						<li class="main-li"><a class="li-a" href="Score.jsp">助选大学</a></li>
						<li style="width: 5px;"><img src="images/xian.jpg"></li>
						<li class="main-li"><a class="li-a"
							href="ProvienceMessage.jsp">高考资讯</a></li>

					</ul>
				</div>
			</div>
			<div class="middmain">
				<div class="sou"></div>
				<div class="leftbian">
					<div class="lefttitle" style="background: url(images/08.gif)">个人信息</div>
					<div class="lefttopcontent"
						style="background: url(images/littlexian.jpg) repeat-y">
						<img src="images/head.png">
						<div class="litlecontent">
							名称： <font>${sessionScope.user.getUsername() }</font>
						</div>

						<div class="litlecontent">
							科别： <font><c:if
									test="${sessionScope.user.getWenorli() ==1}">
									<c:out value="文"></c:out>
								</c:if> <c:if test="${sessionScope.user.getWenorli() ==0}">
									<c:out value="理"></c:out>
								</c:if></font>
						</div>
						<div class="litlecontent">
							手机： <font>${sessionScope.user.getUserphone() }</font>
						</div>
						<div class="litlecontent">
							高考户籍地： <font>${sessionScope.user.getProvinces() }</font>
						</div>
					</div>
					<div class="lefttitle">专业推荐</div>
					<div class="lefttopcontent" style="height: 554px;">
						<div class="leftcontent">
							<p>
								<font><a
									href="http://baike.baidu.com/link?url=d-KSkZvW0FSAUSwub0Ca2Z4s1uvJdaYAEu4dK3juBSY1gfdV4jvR1TJJOlhdLdC7O3hViC8mGFOad7a4ZdlL0Jy8IwRjKHLmz-mTGACI5hL1Q6MYrok-QBo4Czhtm6j4eHapThAst1vDmYd12hxwia">电子信息工程</a><br>
									<br>推荐高校：<a href="http://www.zjhu.edu.cn/">湖州师范学院</a></font>
							</p>
							<p>&nbsp;</p>
							<p>
								电子信息工程是一门应用计算机等现代化技术进行电子信息控制和信息处理的学科，主要研究信息的获取与处理，电子设备与信息系统的设计、开发、应用和集成。电子信息工程已经涵盖了社会的诸多方面。电子信息工程专业是集现代电子技术、信息技术、通信技术于一体的专业……</p>
						</div>


						<div class="leftcontent">
							<p>
								<font><a href="#">金融数学 </a><br> <br>推荐高校：<a
									href="http://www.njnu.edu.cn/">南京师范大学</a></font>
							</p>
							<p>
								<br />
								本专业设在学校数学科学学院，专业建设依托统计学江苏省重点学科、统计学一级学科博士点和统计学博士后流动站。学院建有江苏省“大规模复杂系统数值模拟”重点实验室、江苏省空间大数据工程实验室、省部共建“金融统计教学实验室”等学科平台，借助现代化的教学设施和实验设备，培养高端复合型人才。学院拥有国家杰出青年基金获得者2名，国家“百千万人才工程”国家级人选2名，青年千人计划人选1名，江苏省特聘教授3名，全国优秀教师2名……
							</p>
						</div>

					</div>
				</div>

				<div class="middtop">

					<div class="middtoptop">高考各地资讯</div>
					<div
						style="background: url(images/middxian.jpg); float: left; width: 446px; height: 5px; overflow: hidden"></div>
					<div class="middcontent">
						<div class="table_div">
							<table id="travel" class="middcontent_table">

								<tr class="province_trd">
									<th
										class="table_tr">编号</th>
					<th class="table_tr">专业名称</th>
					<th class="table_tr">专业人数</th>
					<th class="table_tr">就业率</th>
				</tr>
		<%List<Majors> list = (List<Majors>) session.getAttribute("list");
			if (list == null) {
				IMajorsBiz majorsBiz = new MajorsBizImpl();
				list = majorsBiz.getAllMajorsByRate();
			}

			for (int i = 1; i <= list.size(); i++) {
				Majors majors = list.get(i - 1);%>
		<tr class="province_trd">
			<td class="table_tr"><%=i%></td>
			<td class="table_tr"><%=majors.getMajors()%></td>
			<td class="table_tr"><%=majors.getMajors_number()%></td>
			<td class="table_tr"><%=majors.getEmployment_rate()%>%</td>
		</tr>
		<%}%>
 			</table>
 		</div>
			
     </div>
      
    </div>
</div>



<div class="buttom">┊ <a href="CSS-test-shadow.html">关于我们</a>  ┊ <a href="phon.html"> 联系我们</a> ┊ <a href="1.html"> 法律声明</a> ┊ <a href="http://www.zjhu.edu.cn/"> 广告服务</a> ┊<br>

</div>
</div>
</div>

</body>
</html>
